package com.nanhang.Service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.nanhang.Service.Studentservice;
import com.nanhang.entity.Student;
import com.nanhang.mapper.Studentmapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Studentserviceimpl extends ServiceImpl<Studentmapper, Student> implements Studentservice {
    @Autowired
    private Studentmapper studentmapper;

    @Override
    public List<Student> list() {
        return studentmapper.list();
    }
}

